#!/usr/bin/env python3
# Licensing : see licensing directory

from phase0 import phase0
from phase1 import phase1
from phase2 import phase2
from phase3 import phase3
from phase4 import phase4

# As you can see, I realy don't like to put code on my main source file. I come
# from C and modular programming, never forget it !
# Refer to modules files for more doc.
print ("Cradle\n------")
base_dir = phase0()
filelist, = phase1(base_dir)                # As phase1,2 and 3 returns only one
filestree, = phase2(filelist)               # arg, we deencapsulate it from the
filestree, = phase3(filestree)              # tuple it should be placed else
origtree, taggedtree = phase4(filestree)
